VDGetKeyColorRange
Some video digitizer components that support key colors may allow applications to set a range of key color values. The key color range is expressed as a range of RGB color values. TheVDGetKeyColorRange
function allows applications to obtain the currently defined key color range.
pascal VideoDigitizerError VDGetKeyColorRange (VideoDigitizerComponent ci, RGBColor *minRGB, RGBColor *maxRGB);
- ci
- Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's
OpenComponent
function.minRGB
- Contains a pointer to a field that is to receive the lower bound of the key color range. The video digitizer component places the RGB color that corresponds to the lower end of the range in the field referred to by this parameter.
maxRGB
- Contains a pointer to a field that is to receive the upper bound of the key color range. The video digitizer component places the RGB color that corresponds to the upper end of the range in the field referred to by this parameter.
RESULT CODES
noErr 0 No error digiUnimpErr -2201 Function not supported badCallOrder -2209 Digitizer component not ready for this function SEE ALSO
Your application can set the color range by calling theVDSetKeyColorRange
function, which is described on page 8-83.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help